<%@ page contentType="text/html;charset=UTF-8" language="java" pageEncoding="UTF-8" %>
<html>
<head>
    <title>JSP九大内置对象</title>
</head>
<body>
<%
    String contextPath = request.getContextPath();
    out.println(contextPath);

    response.setHeader("h1", "respose对象");

    String contextPath1 = session.getServletContext().getContextPath();
    out.println(contextPath1);

    String contextPath2 = application.getContextPath();

    String contextPath3 = pageContext.getServletContext().getContextPath();



%>

</body>
</html>
